#include <cstdlib>
#include <iostream>

using namespace std;

//This program demostrates the input line control of the cin.
int main(int argc, char *argv[])
{
    int i1, i2;
    char s1[255];

    cout<<"Please input two integers in two lines, one each line."<<endl;
    cin>>i1;
    cin.getline(s1, 255); // skip to the end of line
    cin>>i2;
    cout<<i1<<", "<<i2<<endl;
    
    system("PAUSE");
    return EXIT_SUCCESS;
}
